Automattic\Jetpack\Waf\Waf_Stats S

Total Complexity 22
Dependencies 3
Dependents 1
Total lines 146
Lines of code 62
Logical lines of code 36
Comment lines 55
Methods 9
Properties 1

Methods 9

Method Rating Maintainability Complexity Lines of code
get_global_stats()
S
59 7 14
fetch_global_stats_from_api()
S
59 4 12
get_ip_allow_list_count()
S
67 2 8
get_ip_block_list_count()
S
67 2 8
is_global_stats_cache_expired()
S
69 2 7
should_use_global_stats_cache()
S
78 2 3
get_rules_version()
S
75 1 4
get_automatic_rules_last_updated()
S
80 1 3
get_global_stats_from_options()
S
79 1 3